package com.user.chris.util;

import java.util.concurrent.ConcurrentNavigableMap;
import java.util.concurrent.ConcurrentSkipListMap;

public class Test {
    public static void main(String[] args) {
        ConcurrentSkipListMap<Long, String> map = new ConcurrentSkipListMap<>();
        map.put(1L, "1");
        map.put(2L, "2");
        map.put(3L, "3");

        ConcurrentNavigableMap<Long, String> longStringConcurrentNavigableMap = map.headMap(3L);
        System.out.println(longStringConcurrentNavigableMap);
    }
}
